Producing Short Counterexamples Using "Crucial Events"
نویسندگان
چکیده
Ideally, a model checking tool should be able to successfully tackle state space explosion for complete validation of the system, while providing short counterexamples in case an error exists. Techniques such as partial order (p.o.) reduction [1, 2] are very effective at tackling state space explosion, but do not concern themselves with the production of short counterexamples. On the other hand, directed model checking [3, 4] techniques use heuristic search strategies to find short counterexamples, but are not suited for exhaustive validation, because they are prone to state space explosion in the absence of errors. To the best of our knowledge, there is currently no single technique that meets both requirements. We present such a technique in this paper. We identify a subset of CTL, which we call CETL (Crucial Event Temporal Logic), that exhibits some interesting properties. Given any (Mazurkiewicz) trace of a program and any CETL formula, there exists a unique set of events, called crucial events, whose execution is both necessary and sufficient to lead to a state satisfying the formula. These crucial events can be executed in any order that is consistent with the dependency relation. Thus, for exhaustive validation, it is sufficient to explore a single interleaving, consisting entirely of crucial events, per maximal trace of the program. This results in significant state space reduction, comparable to partial order techniques. Additionally, by executing only crucial events, we narrow in on the error quickly, resulting in faster verification and short counterexamples. We present an explicit-state model checking algorithm for CETL, and show how crucial events can be identified. We have implemented our algorithms as an extension to SPIN, called SPICED (Simple PROMELA Interpreter with Crucial Event Detection). We present experimental results comparing our performance against that of SPIN with p.o. reduction. The experimental results presented show that we consistently produce significantly shorter error trails, often resulting in faster verification times, while achieving state space reduction similar to that of p.o. reduction.
منابع مشابه
Learning languages from positive data and a limited number of short counterexamples
We consider two variants of a model for learning languages in the limit from positive data and a limited number of short negative counterexamples (counterexamples are considered to be short if they are smaller than the largest element of input seen so far). Negative counterexamples to a conjecture are examples which belong to the conjectured language but do not belong to the input language. Wit...
متن کاملOn Learning Languages from Positive Data and a Limited Number of Short Counterexamples
We consider two variants of a model for learning languages in the limit from positive data and a limited number of short negative counterexamples (counterexamples are considered to be short if they are smaller that the largest element of input seen so far). Negative counterexamples to a conjecture are examples which belong to the conjectured language but do not belong to the input language. Wit...
متن کامل1 7 Do All and Only Causes Raise the Probabilities of Effects ?
According to probabilistic theories of causation, causes raise the probabilities of their effects. Opponents of probabilistic theories of causation offer putative counterexamples. A moment's reflection should lead us to expect such counterexamples to be of two types: (1) causes that appear not to raise the probabilities of their effects; and (2) events that appear to raise the probabilities of ...
متن کاملGenetic evolution of a fetoprotein producing gastric cancer
Background: a Fetoprotein (AFP) producing gastric cancer is an unusual form of aggressive adenocarcinoma with a complex histological picture, including enteroblastic and hepatoid differentiation. Aims: To investigate the genetic events underlying the phenotypic diversity in AFP producing gastric cancer and the ability of these tumours to produce AFP ectopically. Methods: Multiple foci from 19 A...
متن کاملCOUNTEREXAMPLES IN CHAOTIC GENERALIZED SHIFTS
In the following text for arbitrary $X$ with at least two elements, nonempty countable set $Gamma$ we make a comparative study on the collection of generalized shift dynamical systems like $(X^Gamma,sigma_varphi)$ where $varphi:GammatoGamma$ is an arbitrary self-map. We pay attention to sub-systems and combinations of generalized shifts with counterexamples regarding Devaney, exact Dev...
متن کامل